package cn.itcast.wanxinp2p.consumer;

import cn.itcast.wanxinp2p.common.domain.RestResponse;
import cn.itcast.wanxinp2p.consumer.model.ConsumerRegisterDTO;
import cn.itcast.wanxinp2p.consumer.model.ConsumerRequest;
import cn.itcast.wanxinp2p.depository.GatewayRequest;

public interface ConsumerApi {
    RestResponse register(ConsumerRegisterDTO consumerRegisterDTO);
    /**
     * 生成开户请求数据
     * @param consumerRequest 开户信息
     * @return
     */
    RestResponse<GatewayRequest> createConsumer(String value,ConsumerRequest consumerRequest);

}
